package com.one.group.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * {@code @Create:}  2025-09-30  08 : 55
 * {@code @Author:} Cherry
 * {@code @ToUser:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */

@Data
@Table("sp_camera")
@Builder
public class Camera {
    @Id
    private Long id;


    @Column("equipment_id")
    private Long equipmentId;

    @Column("address")
    private String address;

    @Column("orientation")
    private String orientation;

    @Column("resolution")
    private String resolution;

    @Column("memory")
    private String memory;

    @Column("ssd_capacity")
    private String ssdCapacity;


    @Column("maintenance_period")
    private String maintenancePeriod;

    @Column("cpu")
    private String cpu;

    @Column("scrap_date")
    private Date scrapDate;

    @Column(value = "is_deleted", isLogicDelete = true)
    private Integer isDeleted;

    @Column("create_time")
    private Date createTime;

    @Column("update_time")
    private Date updateTime;
}

